﻿using System;
using System.Collections.Generic;
using System.Text;
using EShop.Common;

namespace EShop.Model
{
    public class EmployeeInfo : BaseInfo
    {
        private string _id;
        public string ID
        {
            get { return _id; }
            set { _id = value; }
        }

        private string _EmployeeID;
        /// <summary>
        /// 员工工号
        /// </summary>
        public string EmployeeID
        {
            get { return _EmployeeID; }
            set { _EmployeeID = value; }
        }

        private string _FullName;
        /// <summary>
        /// 员工姓名
        /// </summary>
        public string FullName
        {
            get { return _FullName; }
            set { _FullName = value; }
        }

        private bool _Sex;
        /// <summary>
        /// 员工性别 1 男,0 女
        /// </summary>
        public bool Sex
        {
            get
            {
                return _Sex;
            }
            set { _Sex = value; }
        }

        private string _EmployeePID;
        /// <summary>
        /// 身份证号码
        /// </summary>
        public string EmployeePID
        {
            get { return _EmployeePID; }
            set { _EmployeePID = value; }
        }

        private DateTime _Brithday;
        /// <summary>
        /// 员工生日 YYYY/MM/DD
        /// </summary>
        public DateTime Brithday
        {
            get { return _Brithday; }
            set { _Brithday = value; }
        }

        private bool _IsGregorianCalendar;
        /// <summary>
        /// 农历or公历  0, 農曆;1公曆
        /// </summary>
        public bool IsGregorianCalendar
        {
            get { return _IsGregorianCalendar; }
            set { _IsGregorianCalendar = value; }
        }

        private string _Popedom;
        /// <summary>
        /// 籍贯
        /// </summary>
        public string Popedom
        {
            get { return _Popedom; }
            set { _Popedom = value; }
        }

        private string _Address;
        /// <summary>
        /// 联系地址
        /// </summary>
        public string Address
        {
            get { return _Address; }
            set { _Address = value; }
        }

        private string _Mobile;
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Mobile
        {
            get { return _Mobile; }
            set { _Mobile = value; }
        }

        private string _Remark;
        /// <summary>
        /// 备注项
        /// </summary>
        public string Remark
        {
            get { return _Remark; }
            set { _Remark = value; }
        }

        private DateTime _CreateDatetime;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDatetime
        {
            get { return _CreateDatetime; }
            set { _CreateDatetime = value; }
        }

        private DateTime _LastLoginDatatime;
        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime LastLoginDatatime
        {
            get { return _LastLoginDatatime; }
            set { _LastLoginDatatime = value; }
        }

        private PermissionEnum _EmployeePermission;
        /// <summary>
        /// 员工权限
        /// </summary>
        public PermissionEnum EmployeePermission
        {
            get { return _EmployeePermission; }
            set { _EmployeePermission = value; }
        }


    }
}
